These are fragments of code that are useful for many agents.